@import url('https://fonts.googleapis.com/css2?family=Paytone+One&family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Paytone One', sans-serif;
}

.banner {
    width: 100%;
    height: 250px;
    position: relative;
}

.banner nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-color: #C81F34;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    font-family: 'Paytone One', sans-serif;
}

.banner nav .logo img {
    width: 100px;
    cursor: pointer;
    margin: 7px 0;
}

.banner nav ul {
    list-style: none;
    margin-right: 286px;
}

.banner nav ul li {
    display: inline-block;
    margin: 0 15px;
}

.banner nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 17px;
    transition: 0.1s;
}

.banner nav ul li a::after {
    content: '';
    width: 0;
    height: 2px;
    background: #F4D2D6;
    display: block;
    transition: 0.2s linear;
}

.banner nav ul li a:hover::after {
    width: 100%;
}

.banner nav ul li a:hover {
    color: #F4D2D6;
}

.banner .delivery {
    position: absolute;
    margin-left: 1215px;
}


.banner .delivery img {
    transition: 0.3s;
}

.banner .delivery:hover img {
    animation: moveX 0.8s ease-out 1;
}

@keyframes moveX {
    0%   { transform: translateX(0); }
    12%  { transform: translateX(-6px); }
    25%  { transform: translateX(6px); }
    37%  { transform: translateX(-6px); }
    50%  { transform: translateX(6px); }
    62%  { transform: translateX(-3px); }
    75%  { transform: translateX(3px); }
    87%  { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

#banner-general img{
  width: 100%;
  margin-top: -135px;
}

#content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px; /* khoảng cách giữa các content */
    padding: 60px 0;
    background: #fff;
}

/* Khối content chung */
#content > div {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 80%;
    max-width: 1100px;
}

/* Ảnh */
#content .content-image img {
    width: 300px;       /* cho ảnh to vừa đẹp */
    height: auto;       /* giữ tỉ lệ gốc */
    object-fit: cover;  /* nếu ảnh không cân đối thì tự cắt cho khớp */
}

/* Chữ */
#content .content-info {
    flex: 1;
}

#content .content-info h1 {
    font-family: 'Paytone One', sans-serif;
    font-size: 35px;
    color: #E21C2A;
    margin-bottom: 20px;
}

#content .content-info h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Nút */
#content .btn {
    display: inline-block;
    background: #E21C2A;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
}

#content .btn:hover {
    background: #c71827;
}
